function filter(state = 'All', action) {
  switch (action.type) {
    case 'filter/changeType':
      return action.types
    default:
      return state
  }
}
export default filter
